/**
 * @file 桌面窗口
 */
import React, { useEffect } from 'react';
import { ipcListener } from '../../config/ipc';
export default function index() {
  ipcListener('desktop-video', GetUrl);
  function GetUrl(event: any, arg: any) {
    console.log('!!!!!!!!!!!!!!!!!!!!!!!!', arg);
  }
  return (
    <div
      style={{
        width: '100%',
        height: '100%',
        backgroundColor: 'red',
        fontSize: 50,
      }}
    >
      cccc
    </div>
  );
}
